package com.dkd.testGroup.service.impl;


import com.dkd.testGroup.domain.TestGroup;
import com.dkd.testGroup.mapper.TestGroupMapper;
import com.dkd.testGroup.service.ITestGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 小组信息表 服务实现类
 * </p>
 *
 * @author zwy
 * @since 2025-07-02
 */
@Service
public class TestGroupServiceImpl implements ITestGroupService {
@Autowired
private TestGroupMapper testGroupMapper;
    @Override
    public List<TestGroup> selectList(TestGroup testGroup) {
        return testGroupMapper.selectList(testGroup);
    }

    @Override
    public TestGroup selectById(Integer id) {
        return testGroupMapper.selectById(id);
    }

    @Override
    public int insertTestGroup(TestGroup testGroup) {
        return testGroupMapper.insertTestGroup(testGroup);
    }

    @Override
    public int deleteTestGroup(Integer[] ids) {
        return testGroupMapper.deleteTestGroup(ids);
    }

    @Override
    public int updateTestGroup(TestGroup testGroup) {
        return testGroupMapper.updateTestGroup(testGroup);
    }
}
